/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "大数据DMS库存表",TableName = "big_data_inventory")]
    public partial class big_data_inventory:BaseEntity
    {
        /// <summary>
       ///DMS库存表id
       /// </summary>
       [Key]
       [Display(Name ="DMS库存表id")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid big_data_inventory_id { get; set; }

       /// <summary>
       ///车辆VIN
       /// </summary>
       [Display(Name ="车辆VIN")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string vin { get; set; }

       /// <summary>
       ///本部/在途/终端/未发
       /// </summary>
       [Display(Name ="本部/在途/终端/未发")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string wide_type { get; set; }

       /// <summary>
       ///是否移库:1是,0否
       /// </summary>
       [Display(Name ="是否移库:1是,0否")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int is_move_stock { get; set; }

       /// <summary>
       ///库存地点
       /// </summary>
       [Display(Name ="库存地点")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string stock_location { get; set; }

       /// <summary>
       ///战区
       /// </summary>
       [Display(Name ="战区")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string first_dept_name { get; set; }

       /// <summary>
       ///库位
       /// </summary>
       [Display(Name ="库位")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string storage_bin { get; set; }

       /// <summary>
       ///经销商编码
       /// </summary>
       [Display(Name ="经销商编码")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string customer_code { get; set; }

       /// <summary>
       ///经销商名称
       /// </summary>
       [Display(Name ="经销商名称")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string customer_name { get; set; }

       /// <summary>
       ///在途车辆发运方式 1 空运 2 水运 3 人工驾送 4 自提 5 公路 6 公铁联运 7 水陆联运 8 铁路 9 板车
       /// </summary>
       [Display(Name ="在途车辆发运方式 1 空运 2 水运 3 人工驾送 4 自提 5 公路 6 公铁联运 7 水陆联运 8 铁路 9 板车")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string shipping_method { get; set; }

       /// <summary>
       ///签收日期
       /// </summary>
       [Display(Name ="签收日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CREATE_DATE { get; set; }

       /// <summary>
       ///发车日期
       /// </summary>
       [Display(Name ="发车日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? SAP_VOUCHER_TIME { get; set; }

       /// <summary>
       ///在途天数
       /// </summary>
       [Display(Name ="在途天数")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? on_transit_days { get; set; }

       /// <summary>
       ///创建人
       /// </summary>
       [Display(Name ="创建人")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string Creator { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CreateDate { get; set; }

       /// <summary>
       ///修改人
       /// </summary>
       [Display(Name ="修改人")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string Modifier { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ModifyDate { get; set; }

       /// <summary>
       ///推送状态，0:未推送，1:已推送
       /// </summary>
       [Display(Name ="推送状态，0:未推送，1:已推送")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int status { get; set; }

       
    }
}